<!DOCTYPE html>
<html>
<head>
</head>
<body>
    <script>
        if (window.testRunner)
            testRunner.setDumpConsoleMessages(false);
        function test(method, args) {
            try {
                var request = window.indexedDB[method].call(window.indexedDB, args);
                document.write('Successfully called window.indexedDB.' + method + '().<br>');
            } catch (exception) {
                document.write('window.indexedDB.' + method + '() threw an exception: ' + exception.name + '<br>');
            }
        }
        test('deleteDatabase', 'testDBName');
        test('open', 'testDBName');
    </script>
</body>
</head>
